  <div class="widget">
        <h4 class="widget-title">Фильтр</h4>
        <form action="{geturl controller="index" action="search"}" method="POST">
        <div class="widget-content">
            <div class="row">
                <label>Материал:</label>
                   <select data-placeholder="Выберите материал" class="chosen-tags" multiple="" name="material[]" style="width:210px;">
                {foreach from=$tags.material item=material}
                  {if strpos($filter_material, $material) !== false}
                         <option value="{$material}" selected>{$material}</option>
                         {else}
                              <option value="{$material}">{$material}</option>
                        {/if}
                    

                    {/foreach}
                      </select>
            </div>
            <div class="row">
                 <label>Ключевые слова:</label>
                  <select data-placeholder="Выберите ключевые слова" class="chosen-tags" multiple="" name="tags[]" style="width:210px;">
                  {foreach from=$tags.color item=color}
                    {if strpos($filter_tags, $color) !== false}
                         <option value="{$color}" selected>{$color}</option>
                         {else}
                              <option value="{$color}">{$color}</option>
                        {/if}
                    {/foreach}
                  </select>
            </div>
            <div class="row"> 
                <input type="submit" class="button green-pink" value="Найти" style="float:right;">
            </div>
        </div>
                  
        </form>
                
  </div>
     <div class="clear"></div>